<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateHatchingApplicationTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('hatching_application', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('hub')->comment('申请的园区');
            $table->string('applicant')->default('')->comment('申请人');
            $table->string('phone')->default('')->comment('联系方式');
            $table->string('enterprise')->default('')->comment('申请企业');
            $table->string('qualification')->default('')->comment('企业资质');
            $table->string('status')->default('')->comment('申请状态');
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('hatching_application');
    }
}
